package com.mzy.datepackage.M2022.Aug.thirty_first.service.attribute;

import com.fasterxml.jackson.annotation.JsonProperty;

import com.mzy.datepackage.M2022.Aug.thirty_first.QuoteParams;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 定制协议元数据配置
 */
@Data
@ApiModel(value = "定制协议元数据配置")
public class DzxyConfig extends QuoteParams {


    /**
     * 键值对key
     */
    @ApiModelProperty(value = "键值对key")
    private String key;

    /**
     * 键值对val
     */
    @ApiModelProperty(value = "键值对val")
//    @NotEmpty(message = "键值对val不能为空")
    private String val;

    /**
     * 键值对默认val
     */
    @ApiModelProperty(value = "键值对默认val")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String valDefault;

    /**
     * 说明
     */
    @ApiModelProperty(value = "说明")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String info;
}
